package com.prs.crm.service.stock;

import java.util.List;

import com.prs.crm.domain.stock.Product;
import com.prs.crm.service.BaseService;

/**
 * 采购类型Service
 * @author prs.chenzhi
 *
 */
public interface ProductService extends BaseService<Product>{
	/**
	 * 获取所有采购类型
	 * @param product
	 * @param attrs
	 * @param attrvals
	 */
	void saveProduct(Product product,Integer[] attrs,String[] attrvals);
	
	/**
	 * 批号获取
	 * @return
	 */
	List<Product> getBatchNum();
	Product getProductBycode(String productcode);
	
	void saveOrProduct(Product product);
}
